<!DOCTYPE html>
<html lang="zh-hans">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<title>安全中心</title>
<link rel="stylesheet" href="__TEMPLATE__/webfile/layer.css" id="layui_layer_skinlayercss">
<link rel="stylesheet" href="__TEMPLATE__/webfile/main.css">
<script src="__TEMPLATE__/sysme/js/jquery-1.9.1.min.js"></script>
<title>安全中心</title>
<style type="text/css">

.box_container ._header {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    font-size: 14px;
    color: #999;
}

.condition_1 {
    width: 240px;
    display: inline-block;
}

.editor {
    width: 160px;
    height: 26px;
    line-height: 26px;
    color: #999;
    padding: 4px;
    box-sizing: border-box;
}

.condition_2 {
    width: 220px;
    display: inline-block;
}

#user_type {
    width: 100px;
    height: 24px;
    line-height: 24px;
}

.box_container ._header .btn_style {
    color: red;
    border: 1px Solid red;
    background: #fff;
    display: inline-block;
    width: 80px;
    height: 24px;
    text-align: center;
    margin: 0px 4px 0px 4px;
    text-decoration: none;
    font-size: 12px;
    line-height: 24px;
    border-radius: 3px;
}


a {
    text-decoration: none;
}

.ex_page_tools {
    text-align: left;
    padding: 4px 0px 4px 0px;
    text-align: center;
}
.ex_page_btn.first, .ex_page_btn.last {
    background: #FFFFFF;
    border: 1px Solid #CCCCCC;
    font-weight: 100;
}

.ex_page_btn {
    font-size: 12px;
    width: auto;
    height: 22px;
    line-height: 22px;
    display: inline-block;
    padding: 0px 8px 0px 8px;
    background: #FFFFFF;
    color: #333333;
    margin: 0px 2px 0px 2px;
    border-radius: 2px;
    cursor: pointer;
    border: 1px Solid #cccccc;
    font-family: "Courier New",Courier,monospace;
    font-weight: bold;
}

.ex_page_btn.left_arrow {
    width: 24px;
    height: 22px;
    display: inline-block;
    padding: 0px;
    border: 1px solid #999;
}
.ex_page_btn.active {
    background: #fdf1f1;
    border: 1px Solid #F33;
}
.ex_page_btn.right_arrow {
    width: 24px;
    height: 22px;
    display: inline-block;
    padding: 0px;
    border: 1px solid #999;
}
.ex_page_go_container {
    width: 80px;
    height: 24px;
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    margin: 0px 2px 0px 2px;
    border-radius: 2px;
    border: 1px Solid #CCCCCC;
    line-height: initial;
}
.ex_page_go_container .ex_page_go_edit {
    width: 100%;
    height: 21px;
    line-height: 21px;
    text-align: left;
    box-sizing: border-box;
    padding-left: 4px;
    border: none;
    outline: none;
}
.ex_page_go_container .ex_page_go {
    position: absolute;
    right: 0px;
    top: 0px;
    background: url(../img/btn_go.png);
    width: 24px;
    height: 22px;
}
.page_info {
    font-family: "Microsoft Yahei";
    color: #333;
    font-size: 14px;
    text-align: center;
}

.box_container ._bodyer {
    border-top: 1px SOlid #CCC;
    box-sizing: border-box;
    padding: 10px 0px 10px 0px;
}
.ex_custom_table {
    width: 100%;
    border-collapse: collapse;
}
.ex_custom_table thead tr {
    height: 30px;
    background: #dddddd;
}
.ex_custom_table td:first-child {
    border-left: 0px;
}

.ex_custom_table thead td {
    color: #DD3333;
    text-align: center;
    font-size: 12px;
    font-family: "Microsoft Yahei";
    font-weight: bold;
    text-shadow: #FFFFFF 0px 1px 0px;
}

.ex_custom_table td {
    border: 1px Solid #ccc;
    color: #333;
    font-size: 12px;
    font-family: "Microsoft Yahei";
}

.ex_custom_table td:last-child {
    border-right: 0px;
}

.ex_custom_table tbody tr {
    height: 30px;
    background: #ffffff;
}

.ex_custom_table tbody tr td {
    text-align: center;
    height: 22px;
    line-height: 22px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.btn_log {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(/static/template/webfile/pc_tz.png);
    background-size: 100% 100%;
    margin-top: 6px;
}

.btn_static {
    display: inline-block;
    width: 19px;
    height: 22px;
    background: url(__TEMPLATE__/webfile/pc_tz2.png);
    background-size: 100% 100%;
    margin-top: 6px;
}
</style>

</head>
<body cz-shortcut-listen="true">
<div class="header">
	<div class="main main_btm_border">
		<div class="left logo">
			<a href="{:url('index/home')}" class="logo-link" id=""><span class="logo_image"></span>
			<style>
.logo_image{background-image:url(__ATTACHMENT__/{$logo.logoimg})!important}
			</style>
			</a>
		</div>
		<div class="right login_and_userinfo_1">
			<div class="login_header">
				<span class="welcome"></span>
				<div class="mobile_download" style="cursor:pointer">
					<i class="iconfont"></i><i class="iconfont"></i><span class="">手机app下载</span>
				</div>
			</div>
		</div>
	</div>
</div>
<div id="model_2" class="model_2" style="display:none">
	<div class="model_header">
		<h1>温馨提醒</h1>
	</div>
	<div class="model_body">
		<span id="model_content"></span>
	</div>
	<div class="foot_succ">
		<a onclick="jQuery.modal.close()" class="btn btn-default btn-radius">确定</a>
	</div>
</div>
<div class="main usercenter">
	<div class="user_usersafe">
		<div class="user_menu left">
			<h2>会员中心</h2>
			<ul>
				<li class="hover"><i class="iconfont"></i><a href="{:url('user/index')}">个人中心</a></li>
				<li><i class="iconfont"></i><a class="user_goto_finance" href="{:url('user/recharge')}">财务中心</a></li>
				<li><i class="iconfont"></i><a href="{:url('user/callRecord')}">交易记录</a></li>
				<!-- 	<li><i class="iconfont"></i><a href="{:url('user/detail')}">详细设定</a></li> -->
				<li><i class="iconfont"></i><a href="{:url('user/peilvdetail')}">赔率详情</a></li>
				<li><i class="iconfont"></i><a href="{:url('user/message')}">信息公告</a></li>
				 <li><i class="iconfont"></i><a href="{:url('user/djsm')}">等级说明</a></li>
			</ul>
			
			<h2>代理中心</h2>
			<ul>
			
				<li><i class="iconfont"></i><a class="user_goto_finance" href="{:url('user/dlCentent')}">代理说明</a></li>
				{if($f.dl==1)}
				<li><i class="iconfont"></i><a href="{:url('user/dailibaobiao')}">代理报表</a></li>
				<li><i class="iconfont"></i><a href="{:url('user/xiajibaobiao')}">下级报表</a></li> 
				<li><i class="iconfont"></i><a href="{:url('user/xiajikaihu')}">下级开户</a></li>
				<!--<li class="hover"><i class="iconfont"></i><a href="{:url('user/xiajiguanli')}">下级管理</a></li>-->
				<li><i class="iconfont"></i><a href="{:url('user/touzhumingxi')}">投注明细</a></li>
				<li><i class="iconfont"></i><a href="{:url('user/jiaoyimingxi')}">交易明细</a></li>
				{else/}
				<li><i class="iconfont"></i><a href="{:url('user/shenqing')}">代理申请</a></li>
				{/if}
			</ul>
		</div>
		
		<div style="width: 820px;border: 1px solid #999999;margin-left: 175px;padding-top: 10px;height: 605px;" class="box_container">
			
			<div class="_header">
			<form action="" method="post" id="search_form">
                <div class="condition_1">用户名:<input placeholder="请输入要查询的会员..." name="user" type="text" class="editor user_name user_search"></div>
     
                <a href="javascript:;" class="btn_style" onclick="document:search_form.submit();">查询</a>
                </form>
            </div>
			
           		<div class="_bodyer" id="text_content">
           			<div class="ex_page">
           				<table class="ex_custom_table">
           					<thead>
           						<tr>
           							<td>用户名</td> 
           							<td>用户类型</td>
           							<td>下级代理</td>
           							<td>下级会员</td>
           							<td>余额</td> 
           							<td>最后登录</td>
           							<td>操作</td>
           						</tr>
           					</thead>
           					<tbody>
           					{foreach ($user as $v)}
           						<tr data-idx="0" data-uid="126089" class="tr_data">
           							<td>
           								<span class="data_user text_name" data-user="cm12345" data-uid="126089">{$v.username}</span>
           							</td> 
           							<td class="user_actype">{if($v.dl=='1')}代理{else/}会员{/if}</td>
           							<td class="next_uid next_daili data_user" data-user="cm12345" data-uid="126089">{$v.xjdl}</td>
           							<td class="next_uid next_user data_user" data-uid="126089" data-user="cm12345">{$v.dlxj}</td>
           							<td>{$v.je}</td> 
           							<td>{$v.login_time|date="Y-m-d H:i:s",###}</td>
           							<td>
           								<a class="btn_log" href="{:url('user/touzhumingxi')}?user={$v.username}" title="投注明细"></a>
           								<a class="btn_static" href="{:url('user/jiaoyimingxi')}?user={$v.username}" title="交易明细"></a>
           							</td>
           						</tr>
           					{/foreach}
           					</tbody>
           				</table>
           				<div>
           					<div style="float:left; width:65%;margin-top:20px;margin-left:10px;">共{$zys}页， {$count}笔，当前第：{$page}页</div>
							<div style="float:right; width:15%;margin-top:20px;">
							<a href="{:url('user/xiajiguanli')}?page={$page-1}">上一页</a>
									<a href="{:url('user/xiajiguanli')}?page={$page+1}" style="margin-left:10px">下一页</a>
           					</div>
           				</div>
           			</div>
           		</div>
           	</div>
           </div>
		</div>
		
		
	</div>
</div>

</body>
</html>